package org.jeecg.modules.appuser.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 用户等级管理
 * @Author: jeecg-boot
 * @Date: 2020-05-20
 * @Version: V1.0
 */
@Data
@TableName("tb_user_vip")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "tb_user_vip对象", description = "用户等级管理")
public class TbUserVip implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * vip编号
     */
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "vip编号")
    private java.lang.String id;
    /**
     * vip名称
     */
    @Excel(name = "vip名称", width = 15)
    @ApiModelProperty(value = "vip名称")
    private java.lang.String vipName;
    /**
     * 最小值
     */
    @Excel(name = "邀请人数", width = 15)
    @ApiModelProperty(value = "邀请人数")
    private Integer inviteNumber;
    /**
     * 最大值
     */
    @Excel(name = "邀请收益", width = 15)
    @ApiModelProperty(value = "邀请收益")
    private java.math.BigDecimal inviteProfit;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

    //排序
    private Integer sort;

    private Integer buildingNum;
    private BigDecimal firstRebate;
    private BigDecimal secondRebate;
    private BigDecimal thirdRebate;


}
